<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('index')}">分类列表</a></li>
			<li><a href="{:url('add')}">添加分类</a></li>
		</ul>
		<table class="table table-hover table-bordered margin-top-20">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th>名称</th>
					<th>标识</th>
					<th>备注</th>
					<th width="160">{:lang('ACTIONS')}</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="list" item="vo">
				<tr>
					<td>{$vo.id}</td>
					<td>{$vo.name}</td>
					<td>{$vo.label}</td>
					<td>{$vo.remark}</td>
					<td>
                        <a href="{:url('edit',array('id'=>$vo['id']))}">{:lang('EDIT')}</a> |
                        <a href="{:url('delete',array('id'=>$vo['id']))}" class="js-ajax-delete" data-callback="removeAll">{:lang('DELETE')}</a>
                    </td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<ul class="pagination">{$list->render()}</ul>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>